From: Russell King Date: Wed, 10 Aug 2005 13:41:45 +0000 (+0100) Subject: [ARM SMP] Only enable V6K instructions on V6 MP core CPUs X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~50748^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3c4ee4e2520775896efc6ab850c4c27971fbcf2a;p=linux-4.9.git [ARM SMP] Only enable V6K instructions on V6 MP core CPUs Signed-off-by: Russell King --- diff --git a/arch/arm/lib/bitops.h b/arch/arm/lib/bitops.h index 2036ff15bda9..64a988c1ad44 100644 --- a/arch/arm/lib/bitops.h +++ b/arch/arm/lib/bitops.h @@ -1,4 +1,6 @@ -#if __LINUX_ARM_ARCH__ >= 6 +#include + +#if __LINUX_ARM_ARCH__ >= 6 && defined(CONFIG_CPU_MPCORE) .macro bitop, instr mov r2, #1 and r3, r0, #7 @ Get bit offset